#ifndef __CONSTANTS_H
#define __CONSTANTS_H

#define DEFSIZE 1000
#define NONE -1
#define TRUE 1
#define FALSE 0

enum Estate{EMPTY, VALID};

#define MAXEXCHANGES 5
#define MAXL 1000
#define MAXWORKERS 10
#define BATCH 20
#define DELAY 0.01
#define MAXPORTS 65536
#define MAXCONN 200000
#define MAXCEX 200000
#define MAXDEX 10000
#define MAXT 10000
#define MAXP 20000
#define MAXPREFIX 100000
#define LEEWAY 10
#define SYNCPORT 10021
#define WAIT 30
#define INC 10000
#define BASE 20000

#define INIT 0
#define STARTED 1
#define DONE 2

#endif
